package JUnitTest;

import static org.junit.jupiter.api.Assertions.*;

class SquareTest {

    @org.junit.jupiter.api.Test
    void squareT1() {
        mainTest test=new mainTest();
        int output=test.square(3);
        assertEquals(9,output);
    }

    @org.junit.jupiter.api.Test
    void squareT2() {
        mainTest test=new mainTest();
        int output=test.square(-4);
        assertEquals(16,output);
    }
}